angular.module('${menuCode}')
.filter('to_trusted', ['$sce', function ($sce) {
	return function (text) {
	    return $sce.trustAsHtml(text);
	};
}])
.controller("${widgetCode}Ctrl",function($scope,AppKit,$stateParams,$ionicBackdrop,$state){
	$scope.piName=$stateParams.piName;
	$scope.loadEliminatRateForm =function (){
		var url = '/aeaipm/services/ProjDefectStatistics/rest/findProblemNumForm/'+$stateParams.piId+"/"+$stateParams.ptId;
		AppKit.getJsonApi(url).success(function(rspJson){
			$scope.formDataStatistics = rspJson;
		})
	}
	$scope.loadEliminatRateForm();
	
});